const low = require('lowdb')
const FileSync = require('lowdb/adapters/FileSync')

const dataBaseDir = 'E:/code/electron/ballGame/data/'

export function getMovieDB() {
    return low(new FileSync(dataBaseDir + 'movie.json'))
}

export function getAccessRecordsDB() {
    return low(new FileSync(dataBaseDir + 'access_records.json'))
}

export const videoImagesDir = 'E:/other/video_images/'
export const videoRootDir = 'A:/dream_videos/'
